package net.mappoint.s.mappoint_30;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
 * The render service allows you to render maps of routes and found locations, place pushpins (using the MapPoint Web Service stock set of icons or your icons that we host for your use), set the map size and map view, select points on a map, get location information about points on a map, pan and zoom a rendered map, and create clickable maps.
 *
 * This class was generated by Apache CXF 2.5.0
 * 2011-12-06T10:47:11.552+08:00
 * Generated source version: 2.5.0
 * 
 */
@WebServiceClient(name = "RenderService", 
                  wsdlLocation = "http://service.mappoint.net/standard-30/mappoint.wsdl",
                  targetNamespace = "http://s.mappoint.net/mappoint-30/") 
public class RenderService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://s.mappoint.net/mappoint-30/", "RenderService");
    public final static QName RenderServiceSoap = new QName("http://s.mappoint.net/mappoint-30/", "RenderServiceSoap");
    static {
        URL url = null;
        try {
            url = new URL("http://service.mappoint.net/standard-30/mappoint.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(RenderService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "http://service.mappoint.net/standard-30/mappoint.wsdl");
        }
        WSDL_LOCATION = url;
    }

    public RenderService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public RenderService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public RenderService() {
        super(WSDL_LOCATION, SERVICE);
    }
    

    /**
     *
     * @return
     *     returns RenderServiceSoap
     */
    @WebEndpoint(name = "RenderServiceSoap")
    public RenderServiceSoap getRenderServiceSoap() {
        return super.getPort(RenderServiceSoap, RenderServiceSoap.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns RenderServiceSoap
     */
    @WebEndpoint(name = "RenderServiceSoap")
    public RenderServiceSoap getRenderServiceSoap(WebServiceFeature... features) {
        return super.getPort(RenderServiceSoap, RenderServiceSoap.class, features);
    }

}
